ComponentOne PDF for .NET
CSJ2K.j2k.util Namespace / ParameterList Class / checkList Method / checkList(Char,String[]) Method
The prefix of parameters to check.
The list of valid parameter names for the 'prfx' prefix. If null it is considered that no names are valid.

In This Topic
    checkList(Char,String[]) Method
    In This Topic
    Checks if the parameters which name starts with the prefix 'prfx' in the parameter list are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub checkList( _
       ByVal prfx As Char, _
       ByVal plist() As String _
    ) 
    public virtual void checkList( 
       char prfx,
       string[] plist
    )

    Parameters

    prfx
    The prefix of parameters to check.
    plist
    The list of valid parameter names for the 'prfx' prefix. If null it is considered that no names are valid.
    Exceptions
    ExceptionDescription
    If there's a parameter name starting with 'prfx' which is not in the valid list of parameter names.
    See Also